package edu.java.lectures.lec03;

import java.io.File;

import edu.java.lectures.lec01.main.Point2D;

public class TestStatic {

    // --- Constants -----------------------------------------------------------

    // CAPITAL LETTERS FOR THE CONSTANTE NAME
    public static final String[] ARR = new String[3];
    public static final Point2D POINT_CONST = new Point2D(2, 3);
    public final String NAME;// = "tsetsi";

    public static final String CONFIG_PATH = "C:\\";

    public TestStatic() {
	NAME = "test";
    }

    // --- Methods -------------------------------------------------------------
    public static void main(String[] args) {
	System.out.println(POINT_CONST);
	POINT_CONST.setX(5);
	System.out.println(POINT_CONST);
	// System.out.println(NAME);

	TestStatic test = new TestStatic();
	System.out.println(test.NAME);

	File f = new File(CONFIG_PATH);
	if (f.exists() && f.isDirectory()) {
	    File e = new File(CONFIG_PATH + "/abc.txt");

	}

    }
}
